<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
             targetNamespace="Examples">

    <process id="processWithTimer" isExecutable="true">

        <startEvent id="theStart">
            <timerEventDefinition>
                <timeCycle>0 0/5 * * * ?</timeCycle>
            </timerEventDefinition>
        </startEvent>    

        <sequenceFlow id="flow1" sourceRef="theStart" targetRef="beforeChange"/>

        <receiveTask id="beforeChange"/>

        <sequenceFlow id="flow2" sourceRef="beforeChange" targetRef="theEnd"/>

        <endEvent id="theEnd"/>

    </process>

</definitions>
